Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds #42819

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

monojenkins
Copy link
Contributor

!! This PR is a copy of mono/mono#20440, please do not edit or review it in this repo !!
Do not automatically approve this PR:

* Consider how the changes affect configurations in this repo,
* Check effects on files that are not mirrored,
* Identify test cases that may be needed in this repo.

!! Merge the PR only after the original PR is merged !!



In normal builds, the getters are static inline functions, so the profiler doesn't reference the symbols - it just accesses the fields by offset.

In checked builds with --enable-checked-build=private_types, the getters are not inlined, so the profiler shared libraries need the symbols to be visible.

In normal builds, the getters are `static inline` functions, so the profiler doesn't reference the symbols - it just accesses the fields by offset.

In checked builds with `--enable-checked-build=private_types`, the getters are not inlined, so the profiler shared libraries need the symbols to be visible.
@ghost
Copy link

ghost commented Sep 28, 2020

Tagging subscribers to this area: @CoffeeFlux
See info in area-owners.md if you want to be subscribed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants